package com.ruoyi.canteen.domain.dto;

import com.ruoyi.common.annotation.Excel;

/**
 * @author: 杨祥
 * @date: 2025/04/27/16:09
 * @description:
 */
public class DishDto {

    /**
     * 主键
     */
    private Long id;

    /**
     * 菜品名称
     */
    private String name;
    private String categoryName;
    /**
     * 菜品分类id
     */
    private Long categoryId;

    /**
     * 图片
     */
    private String image;

    /**
     * 描述信息
     */
    private String description;
    private String ingredientIds;
    /**
     * 状态 0:停用 1:启用
     */
    private Long status;

    /**
     * 预留字段1
     */
    private String reserve1;

    /**
     * 预留字段2
     */
    private String reserve2;

    /**
     * 预留字段3
     */
    private String reserve3;

    public DishDto() {
    }

    public DishDto(Long id, String name, String categoryName, Long categoryId, String image, String description, String ingredientIds, Long status, String reserve1, String reserve2, String reserve3) {
        this.id = id;
        this.name = name;
        this.categoryName = categoryName;
        this.categoryId = categoryId;
        this.image = image;
        this.description = description;
        this.ingredientIds = ingredientIds;
        this.status = status;
        this.reserve1 = reserve1;
        this.reserve2 = reserve2;
        this.reserve3 = reserve3;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getReserve1() {
        return reserve1;
    }

    public void setReserve1(String reserve1) {
        this.reserve1 = reserve1;
    }

    public String getReserve2() {
        return reserve2;
    }

    public void setReserve2(String reserve2) {
        this.reserve2 = reserve2;
    }

    public String getReserve3() {
        return reserve3;
    }

    public void setReserve3(String reserve3) {
        this.reserve3 = reserve3;
    }

    @Override
    public String toString() {
        return "DishDto{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", categoryId=" + categoryId +
                ", image='" + image + '\'' +
                ", description='" + description + '\'' +
                ", ingredientIds='" + ingredientIds + '\'' +
                ", status=" + status +
                ", reserve1='" + reserve1 + '\'' +
                ", reserve2='" + reserve2 + '\'' +
                ", reserve3='" + reserve3 + '\'' +
                '}';
    }
}
